package com.mezz.bones.user.client.domain.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 租户信息
 * </p>
 *
 * @author mezz
 * @since 2025-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "tenant_info", autoResultMap = true)
@ApiModel(value="TenantInfo对象", description="租户信息")
public class TenantInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "租户唯一标识code")
    private String tenantCode;

    @ApiModelProperty(value = "数据库url")
    private String username;

    @ApiModelProperty(value = "用户名")
    private String password;

    @ApiModelProperty(value = "创建者ID")
    private String createBy;

    @ApiModelProperty(value = "创建者名称")
    private String createName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者ID")
    private String updateBy;

    @ApiModelProperty(value = "更新者名称")
    private String updateName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 0:否 1:是")
    private Integer isDel;


}
